fontchooserwidget: Simplify function
authorBenjamin Otte <otte@redhat.com>
Fri, 16 Sep 2011 08:14:15 +0000 (10:14 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 19 Sep 2011 20:11:05 +0000 (22:11 +0200)
commit824aeb77c60f380f6d90c69c34f5044b11d21d27
treef8e30d473b8da5c5809df4b822573c6e2c621250
parent7a34a5971efff66e217e7ccd406923375be033d9
fontchooserwidget: Simplify function

- Don't do unnecessary casts
- Fix weird variable declaration indenting
- Fix loop indentation
- Use a for loop for iterating over a list, instead of a while loop
- Casefold font name only once, instead of every iteration
- Remove needless true_var = true_var && TRUE assignment
gtk/gtkfontchooserwidget.c